//
//  U9LoginManager.h
//  U9WatchGame
//
//  Created by uuu9 on 2017/8/8.
//  Copyright © 2017年 UUU9. All rights reserved.
//

#import "BaseNetManager.h"
@class U9AccountModel,U9IdentifyUserModel;

@interface U9LoginManager : BaseNetManager
+ (void)loginWithPhoneNum:(NSString *)phoneNum andPassword:(NSString *)passwd andLoginType:(NSString *)type andCompletionHandle:(void(^)(U9AccountModel *account, NSError *error))complete;

+ (void)thrloginWithUserid:(NSString *)uid andthrToken:(NSString *)token andNickName:(NSString *)nickname andImage:(NSString *)image andType:(NSString *)type andCompletionHandle:(void (^)(U9AccountModel *account, NSError *error))complet;

+ (void)getPersonInfomationWithUserid:(NSString *)uid andSessionid:(NSString *)sessionid andCompletionHandle:(void (^)(U9AccountModel *account, NSError *error))complete;

+ (void)logoutWithUserid:(NSString *)uid andSessionid:(NSString *)sessionid andCompletionHandle:(void (^)(U9AccountModel *account, NSError *error))complete;

+ (void)getVerifyCodeWithPhone:(NSString *)phone andType:(NSString *)type andCompletionHandle:(void (^)(U9AccountModel *account, NSError *error))complete;

+ (void)registerAccountWithPhoneNum:(NSString *)phone andPWD:(NSString *)password andCode:(NSString *)code andLoginName:(NSString *)name andCompletionHandle:(void (^)(U9AccountModel *account, NSError *error))complete;

+ (void)identifyUserWithUserid:(NSString *)uid andName:(NSString *)name andCode:(NSString *)code andCompletionHandle:(void (^)(U9IdentifyUserModel *account, NSError *error))complete;


@end
